<%@ page language="java" pageEncoding="UTF-8"%>
<!DOCTYPE>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="Keywords" content="惠信钱包，金融">
<meta name="description" content="描述描述描述" />
<%@include file="/WEB-INF/base/commRoot.jsp"%>
<link rel="stylesheet" href="/css/public.css" />
<link rel="stylesheet" href="/css/style.css" />
<script type="text/javascript" src="/js/jquery-1.11.1.min.js"></script>
<script type="text/javascript" src="/js/jquery.validate.js"></script>
<script type="text/javascript" src="/js/win_layer/win_layer.js"></script>
<title>详细</title>

<script type="text/javascript">
	function goback() {
		location.href = ctx_root
				+ "/fundRecord_moneyRecordPagefist.action?froInQueryType=moneyRecordPage";
	}
</script>
</head>
<body>
	<!--header-->
	<%@include file="/head.jsp"%>
	<!--/header-->
	<!--main-->
	<div class="main_bg">
		<div class="money_operat">
			<h3>
				<a href="javascript:goback()" class="return v">返回</a>
				<em class="v">资金记录详情</em> <span class="line v" style="width:730px;"></span>
			</h3>
			<div class="zt_suc" >
				<s:if test="por.status==1">
					<p>交易成功</p>
				</s:if>
				<s:elseif test="por.status==2">
					<p style="background:none;margin-left:0px;">等待支付...</p>
				</s:elseif>
				<s:elseif test="por.status==3">
					<p style="background:none;margin-left:0px;">待付款...</p>
				</s:elseif>
				<s:elseif test="por.status==4">
					<p style="background:none;margin-left:0px;">交易失败</p>
				</s:elseif>
			</div>
			<h2 class="order_detail_tit">订单详情</h2>
			<div class="order_detail_con">
			
			<table width="100%" border="0" cellspacing="0" cellpadding="0"
				class="table2" id="moneyRecordPage_tab">
				<thead>
					<tr height="36" bgcolor="#f2f2f2">
						<th width="30%" align="left" class="txt20" style="border-left:1px solid #ccc;">名称</th>
						<th width="35%" align="left" class="txt20">订单号/流水号</th>
						<th width="20%" align="left" class="txt20">付款对象</th>
						<th width="5%" align="center">数量</th>
						<th width="" align="center" style="border-right:1px solid #ccc;">付款金额(元)</th>
					</tr>
				</thead>
				<tbody>
					<s:if test="porlist!=null and porlist.size>0">
						<s:iterator value="porlist" id="pro">
							<tr height="42">
								<td class="txt20"><s:if
										test="#pro.goodsName!=null and #pro.goodsName!=''">
										<s:property value="toDetailMtname" />-<s:property value="#pro.goodsName" />
									</s:if> <s:else>--</s:else></td>
							    <td style="color:#999;"><p class="txt20">订单号:<s:if
										test="por.merchandiseOrder!=null and por.merchandiseOrder!=''">
										<s:property value="por.merchandiseOrder" />
									</s:if> <s:else>--</s:else></p>
									<p class="txt20">流水号:<s:if
										test="por.orderId!=null and por.orderId!=''">
										<s:property value="por.orderId" />
									</s:if> <s:else>--</s:else>
									</p>
								</td>
								<td class="txt20"><s:if
										test="#pro.storeName!=null and #pro.storeName!=''">
										<s:property value="#pro.storeName" />
									</s:if> <s:else>--</s:else>
								</td>
								<td align="center"><s:if
										test="#pro.goodsnum!=null and #pro.goodsnum!=''">
										<s:property value="#pro.goodsnum" />
									</s:if> <s:else>--</s:else>
								</td>
								<td align="center"><s:if
										test="#pro.realPaymentAmount!=null and #pro.realPaymentAmount!=''">
										<s:property value="#pro.realPaymentAmount" />
									</s:if> <s:else>--</s:else>
									</td>
							</tr>
						</s:iterator>
					</s:if>
					<tr height="20">
						<td colspan="5" align="left" style="padding:0;border-bottom:0;">&nbsp;

						</td>
					</tr>
					<tr height="36" bgcolor="#f2f2f2">
						<th class="txt20" align="left">创建时间</th>
						<th align="center">付款时间</th>
						<th colspan="3" align="center" style="border-right:1px solid #ccc;">结束时间</th>
					</tr>
					<tr height="42">
						<td class="txt20"><s:if test="por.applyTime!=null">
								<s:date name="por.applyTime" format="yyyy-MM-dd HH:mm:ss" />
							</s:if> <s:else>--</s:else></td>
						<td align="center"><s:if test="por.handleTime!=null">
								<s:date name="por.handleTime" format="yyyy-MM-dd HH:mm:ss" />
							</s:if> <s:else>--</s:else></td>
						<td colspan="3" align="center"><s:if test="por.handleTime!=null">
								<s:date name="por.handleTime" format="yyyy-MM-dd HH:mm:ss" />
							</s:if> <s:else>--</s:else></td>
					</tr>
					<s:else>
						 暂无数据
				   </s:else>
				</tbody>
			</table>
			</div>
		</div>
		<!--/main-->
		<!--footer-->
		<%@include file="/footer.jsp"%>
</body>
</html>
